package com.source.syslog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author IceBerg777
 * @since 2021-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Operation对象", description="")
public class Operation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("clientIp")
    private String clientIp;

    private String details;

    @TableField("operEvent")
    private String operEvent;

    @TableField("operTime")
    private Date operTime;

    @TableField("operType")
    private Integer operType;

    @TableField("operUrl")
    private String operUrl;

    @TableField("reqType")
    private String reqType;

    @TableField("userId")
    private String userId;

    @TableField("loginName")
    private String loginName;


}
